﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeafCore.Components.ElasticSearch
{
    /// <summary>
    /// ElasticSearch 设置参数
    /// </summary>
    public class ElasticSearchOptions
    {
        /// <summary>
        /// 服务地址
        /// </summary>
        public IList<Uri> Hosts { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

    }
}
